Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler warnings #128

Merged

Conversation

erwinbonsmatopic
Copy link

Fix all compiler warnings.

Fixed following warnings concerning filters header file includes:
warning Including header <filters/filter_base.h> is deprecated, include <filters/filter_base.hpp> instead. [-Wcpp]
Also fixed format warning in speckle_filter.cpp:
warning: format ‘%i’ expects argument of type ‘int’, but argument 8 has type ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wformat=]

Btw, this is the first in a series of intended PRs. The following ones will include additional unit tests and performance improvements.

@JaccovdS
Copy link

@jonbinney ping

@jonbinney
Copy link
Contributor

@JaccovdS looks like the compiler isn't finding the headers in CI - ideas?

@jonbinney
Copy link
Contributor

Oh..... i think the headers didn't change until noetic. I've been resisting creating a noetic-devel branch, but that might be needed here.

@jonbinney
Copy link
Contributor

Well it seems that kinetic and melodic actually use the indigo-devel branch. So I think I can just rename the kinetic-devel branch to noetic-devel, and then release into noetic from that. Let me think it over.

@erwinbonsmatopic
Copy link
Author

@jonbinney, getting rid of compiler warnings is good practice, so that's why I did so. However, if these changes have too much impact on your CI and release set-up, we can park this PR. The other PRs do not depend on this. On the other hand, it may be good to properly support noetic. It's your call.

@jonbinney
Copy link
Contributor

It's worth getting this merged. I created a net noetic-devel branch and I'm cleaning up CI here: #138
Once that gets merged I'll retarget this PR to the new branch and merge it.

@jonbinney jonbinney changed the base branch from kinetic-devel to noetic-devel October 27, 2021 20:59
@jonbinney jonbinney merged commit 379f68d into ros-perception:noetic-devel Oct 27, 2021
@jonbinney jonbinney mentioned this pull request Oct 27, 2021
@erwinbonsmatopic erwinbonsmatopic deleted the fix-compile-warnings branch November 5, 2021 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants